<?php
return array(
    'APP_GROUP_LIST' => 'home,admin', //分组
    'DEFAULT_GROUP' => 'home', //默认分组
    'DEFAULT_MODULE' => 'Index', //默认控制器
    'TAGLIB_PRE_LOAD' => 'pin', //自动加载标签
    'APP_AUTOLOAD_PATH' => '@.Pintag,@.Pinlib,@.ORG', //自动加载项目类库
    'TMPL_ACTION_SUCCESS' => 'public:success',
    'TMPL_ACTION_ERROR' => 'public:error',
    'DATA_CACHE_SUBDIR'=>true, //缓存文件夹
    'DATA_PATH_LEVEL'=>3, //缓存文件夹层级
    'LOAD_EXT_CONFIG' => 'url,db', //扩展配置
    
    'SHOW_PAGE_TRACE' => false,

    //返利规则
    'rebate' => array(
        1 => array(
            array('limit' => 1, 'percent' => 0),
            array('limit' => 5, 'percent' => 0.1),
            array('limit' => 10, 'percent' => 0.15),
            array('limit' => 15, 'percent' => 0.2),
            array('limit' => 0, 'percent' => 0.25),
        ),
        2 => array(
            array('limit' => 1, 'percent' => 0.03),
            array('limit' => 51, 'percent' => 0.05),
            array('limit' => 151, 'percent' => 0.07),
            array('limit' => 201, 'percent' => 0.1),
        )
    )
);